Confusion about integration constant

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
malignant
Messages
40
Reaction score
1
After solving a DE I ended up with (y3)/(3x3) + ln(x) = c and initial conditions y(1) = 2.

If I just plug in straight away I get (23) / (3(13)) + ln(1) = c which is c = 8/3 but if I multiply the equation by 3x3 first: (y^3) + (3x3)ln(x) = (3x3)c and the 3 goes into the c and solving for c I get 23 + 3(1)3ln(1) = (1)3c and c = 8 which is the right answer.

I can see why these answers are different but I don't think I understand the constant. If I don't combine other constants with c I get an incorrect answer? When can I/do I have to combine constants with c?
 
Physics news on Phys.org
malignant said:
After solving a DE I ended up with (y3)/(3x3) + ln(x) = c and initial conditions y(1) = 2.

If I just plug in straight away I get (23) / (3(13)) + ln(1) = c which is c = 8/3 but if I multiply the equation by 3x3 first: (y^3) + (3x3)ln(x) = (3x3)c and the 3 goes into the c and solving for c I get 23 + 3(1)3ln(1) = (1)3c and c = 8 which is the right answer.

I can see why these answers are different but I don't think I understand the constant. If I don't combine other constants with c I get an incorrect answer? When can I/do I have to combine constants with c?
When you did it by the second method, you were missing a factor of 3 as the coefficient of c.
 
Chestermiller said:
When you did it by the second method, you were missing a factor of 3 as the coefficient of c.

Oh, that was because I combined it with the c.