Something wrong? can't find my error.

  • Thread starter Thread starter shseo0315
  • Start date Start date
  • Tags Tags
    Error
Click For Summary
SUMMARY

The discussion revolves around solving the differential equation x dy/dx - y = 2x^2 y with the initial condition y(1)=1. The user initially misapplies the laws of exponents, leading to an incorrect solution. The correct solution is identified as y = x exp(x^2 - 1). Key insights include the proper application of exponent rules, particularly the relationship a^(m + n) = a^m * a^n.

PREREQUISITES
  • Understanding of first-order differential equations
  • Familiarity with integration techniques
  • Knowledge of logarithmic and exponential functions
  • Basic algebraic manipulation skills
NEXT STEPS
  • Review the laws of exponents and logarithms
  • Practice solving first-order differential equations
  • Explore the method of integrating factors in differential equations
  • Learn about initial value problems in differential equations
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone seeking to improve their problem-solving skills in calculus and algebra.

shseo0315
Messages
19
Reaction score
0

Homework Statement



x dy/dx -y = 2x^2 y, y(1)=1

Homework Equations


The Attempt at a Solution



x dy/dx = y(2x^2 + 1)

int 1/y dy = int (2x^2+1)/x dx

int 1/y dy = int 2x dx + int 1/x dx

ln y = x^2 + lnx + c

y = exp(x^2 + c) + x and in this case initial condition doesn't work.

please help. I can't find what went wrong.

The answer turns out to be y = x exp(x^2-1).

help~~
 
Physics news on Phys.org
shseo0315 said:

Homework Statement



x dy/dx -y = 2x^2 y, y(1)=1

Homework Equations





The Attempt at a Solution



x dy/dx = y(2x^2 + 1)

int 1/y dy = int (2x^2+1)/x dx

int 1/y dy = int 2x dx + int 1/x dx

ln y = x^2 + lnx + c

y = exp(x^2 + c) + x and in this case initial condition doesn't work.
Your error is in the line above. Since lny = x^2 + lnx + C, then y = e^(lnx + x^2 + C). Now think about the laws of exponents, particularly that a^(m + n) = a^m * a^n.
shseo0315 said:
please help. I can't find what went wrong.

The answer turns out to be y = x exp(x^2-1).

help~~
 
e^{x^2+lnx+c}=e^{x^2}e^{lnx}e^c=xe^{x^2}e^c

You seem to have confused multiplication and addition for your last step
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K