Skip to main content
deleted 8 characters in body
Source Link
Daniel Mahler
  • 1.1k
  • 8
  • 16

I would like Mathematica to cancel out a specific term as much as possible. One of my computations simplify to

((Pi*((l^2 + m^2 + 1)
      * ((l^2 + m^2 + 1) * Derivative[0, 1][w][l, m]^2 
         + Derivative[1, 0][w][l, m] * ((l^2 + m^2 + 1) * Derivative[1, 0][w][l, m] - 4*m)
         + 4*l*Derivative[0, 1][w][l, m])
      + 4*(l^2 + m^2)))
  / (l^2 + m^2 + 1))

I would like it to eliminate the l^2 + m^2 + 1 term as much as possible. Distrubute goes part of the way:

 (4 * (l^2 + m^2) * Pi / (1 + l^2 + m^2)^2 
  + ((Pi*(4*l*Derivative[0, 1][w][l, m]
          + (1 + l^2 + m^2) * Derivative[0, 1][w][l, m]^2
          + Derivative[1, 0][w][l, m]
            *(-4*m + (1 + l^2 + m^2)*Derivative[1, 0][w][l, m])))
     / (1 + l^2 + m^2)))

Now I would like to cancel out the two occurences in the numerateor of the second term. I have tried various combinations of Cancel, Apart, Expand, Factor and Simplify, but none of those go them went in the right direction.

I would like Mathematica to cancel out a specific term as much as possible. One of my computations simplify to

((Pi*((l^2 + m^2 + 1)
      * ((l^2 + m^2 + 1) * Derivative[0, 1][w][l, m]^2 
         + Derivative[1, 0][w][l, m] * ((l^2 + m^2 + 1) * Derivative[1, 0][w][l, m] - 4*m)
         + 4*l*Derivative[0, 1][w][l, m])
      + 4*(l^2 + m^2)))
  / (l^2 + m^2 + 1))

I would like it to eliminate the l^2 + m^2 + 1 term as much as possible. Distrubute goes part of the way:

 (4 * (l^2 + m^2) * Pi / (1 + l^2 + m^2)^2 
  + ((Pi*(4*l*Derivative[0, 1][w][l, m]
          + (1 + l^2 + m^2) * Derivative[0, 1][w][l, m]^2
          + Derivative[1, 0][w][l, m]
            *(-4*m + (1 + l^2 + m^2)*Derivative[1, 0][w][l, m])))
     / (1 + l^2 + m^2)))

Now I would like to cancel out the two occurences in the numerateor of the second term. I have tried various combinations of Cancel, Apart, Expand, Factor and Simplify, but none of those go them went in the right direction.

I would like Mathematica to cancel out a specific term as much as possible. One of my computations simplify to

((Pi*((l^2 + m^2 + 1)
      * ((l^2 + m^2 + 1) * Derivative[0, 1][w][l, m]^2 
         + Derivative[1, 0][w][l, m] * ((l^2 + m^2 + 1) * Derivative[1, 0][w][l, m] - 4*m)
         + 4*l*Derivative[0, 1][w][l, m])
      + 4*(l^2 + m^2)))
  / (l^2 + m^2 + 1))

I would like it to eliminate the l^2 + m^2 + 1 term as much as possible. Distrubute goes part of the way:

 (4 * (l^2 + m^2) * Pi / (1 + l^2 + m^2)^2 
  + ((Pi*(4*l*Derivative[0, 1][w][l, m]
          + (1 + l^2 + m^2) * Derivative[0, 1][w][l, m]^2
          + Derivative[1, 0][w][l, m]
            *(-4*m + (1 + l^2 + m^2)*Derivative[1, 0][w][l, m])))
     / (1 + l^2 + m^2)))

Now I would like to cancel out the two occurences in the numerateor of the second term. I have tried various combinations of Cancel, Apart, Expand, Factor and Simplify, but none of those went in the right direction.

added 4 characters in body; edited tags; edited title
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

guiding Guiding Mathematica to perform specific simplifications

I would like MathematicaMathematica to cancel out a specific term as much as possible. One of my computations simplify to

((Pi*((l^2 + m^2 + 1)
      * ((l^2 + m^2 + 1) * Derivative[0, 1][w][l, m]^2 
         + Derivative[1, 0][w][l, m] * ((l^2 + m^2 + 1) * Derivative[1, 0][w][l, m] - 4*m)
         + 4*l*Derivative[0, 1][w][l, m])
      + 4*(l^2 + m^2)))
  / (l^2 + m^2 + 1))

I would like it to eliminate the l^2 + m^2 + 1 term as much as possible. Distrubute goes part of the way:

 (4 * (l^2 + m^2) * Pi / (1 + l^2 + m^2)^2 
  + ((Pi*(4*l*Derivative[0, 1][w][l, m]
          + (1 + l^2 + m^2) * Derivative[0, 1][w][l, m]^2
          + Derivative[1, 0][w][l, m]
            *(-4*m + (1 + l^2 + m^2)*Derivative[1, 0][w][l, m])))
     / (1 + l^2 + m^2)))

Now I would like to cancel out the 2two occurences in the numerateor of the second term. I have tried various combinations of Cancel, Apart, Expand, Factor and Simplify, but none of those go them went in the right direction.

guiding Mathematica to perform specific simplifications

I would like Mathematica to cancel out a specific term as much as possible. One of my computations simplify to

((Pi*((l^2 + m^2 + 1)
      * ((l^2 + m^2 + 1) * Derivative[0, 1][w][l, m]^2 
         + Derivative[1, 0][w][l, m] * ((l^2 + m^2 + 1) * Derivative[1, 0][w][l, m] - 4*m)
         + 4*l*Derivative[0, 1][w][l, m])
      + 4*(l^2 + m^2)))
  / (l^2 + m^2 + 1))

I would like it to eliminate the l^2 + m^2 + 1 term as much as possible. Distrubute goes part of the way:

 (4 * (l^2 + m^2) * Pi / (1 + l^2 + m^2)^2 
  + ((Pi*(4*l*Derivative[0, 1][w][l, m]
          + (1 + l^2 + m^2) * Derivative[0, 1][w][l, m]^2
          + Derivative[1, 0][w][l, m]
            *(-4*m + (1 + l^2 + m^2)*Derivative[1, 0][w][l, m])))
     / (1 + l^2 + m^2)))

Now I would like to cancel out the 2 occurences in the numerateor of the second term. I have tried various combinations of Cancel, Apart, Expand, Factor and Simplify, but none of those go them went in the right direction.

Guiding Mathematica to perform specific simplifications

I would like Mathematica to cancel out a specific term as much as possible. One of my computations simplify to

((Pi*((l^2 + m^2 + 1)
      * ((l^2 + m^2 + 1) * Derivative[0, 1][w][l, m]^2 
         + Derivative[1, 0][w][l, m] * ((l^2 + m^2 + 1) * Derivative[1, 0][w][l, m] - 4*m)
         + 4*l*Derivative[0, 1][w][l, m])
      + 4*(l^2 + m^2)))
  / (l^2 + m^2 + 1))

I would like it to eliminate the l^2 + m^2 + 1 term as much as possible. Distrubute goes part of the way:

 (4 * (l^2 + m^2) * Pi / (1 + l^2 + m^2)^2 
  + ((Pi*(4*l*Derivative[0, 1][w][l, m]
          + (1 + l^2 + m^2) * Derivative[0, 1][w][l, m]^2
          + Derivative[1, 0][w][l, m]
            *(-4*m + (1 + l^2 + m^2)*Derivative[1, 0][w][l, m])))
     / (1 + l^2 + m^2)))

Now I would like to cancel out the two occurences in the numerateor of the second term. I have tried various combinations of Cancel, Apart, Expand, Factor and Simplify, but none of those go them went in the right direction.

Source Link
Daniel Mahler
  • 1.1k
  • 8
  • 16

guiding Mathematica to perform specific simplifications

I would like Mathematica to cancel out a specific term as much as possible. One of my computations simplify to

((Pi*((l^2 + m^2 + 1)
      * ((l^2 + m^2 + 1) * Derivative[0, 1][w][l, m]^2 
         + Derivative[1, 0][w][l, m] * ((l^2 + m^2 + 1) * Derivative[1, 0][w][l, m] - 4*m)
         + 4*l*Derivative[0, 1][w][l, m])
      + 4*(l^2 + m^2)))
  / (l^2 + m^2 + 1))

I would like it to eliminate the l^2 + m^2 + 1 term as much as possible. Distrubute goes part of the way:

 (4 * (l^2 + m^2) * Pi / (1 + l^2 + m^2)^2 
  + ((Pi*(4*l*Derivative[0, 1][w][l, m]
          + (1 + l^2 + m^2) * Derivative[0, 1][w][l, m]^2
          + Derivative[1, 0][w][l, m]
            *(-4*m + (1 + l^2 + m^2)*Derivative[1, 0][w][l, m])))
     / (1 + l^2 + m^2)))

Now I would like to cancel out the 2 occurences in the numerateor of the second term. I have tried various combinations of Cancel, Apart, Expand, Factor and Simplify, but none of those go them went in the right direction.