The given differential equation is:
(ex+e−x)dy=(ex−e−x)dx
Step 1: Express dy in terms of dx
dy=(ex+e−xex−e−x)dx
Step 2: Integrate both sides
∫dy=∫ex+e−xex−e−xdx
Step 3: Evaluate the integral
dxd(ex+e−x)=ex−e−x
∫ex+e−xex−e−xdx=log∣ex+e−x∣
[∵∫f(x)f′(x)dx=log∣f(x)∣]
Step 4: General solution
y=log∣ex+e−x∣+c
Final Answer
y=log∣ex+e−x∣+c