Solve the following equations by hand using Maple's equation handling functions. Show your work by using lhs(%) and rhs(%).

2x + 4 = 28

> 2*x+4=28;

[Maple Math]

> lhs(%)-4=rhs(%)-4;

[Maple Math]

> lhs(%)/2=rhs(%)/2;

[Maple Math]

4x+24=60

> 4*x+24=60;

[Maple Math]

> lhs(%)-24=rhs(%)-24;

[Maple Math]

> lhs(%)/4=rhs(%)/4;

[Maple Math]

[Maple Math]

> (4*x*(sin(x)^2+cos(x)^2)+1)/4=5*(-tan(x)^2+sec(x)^2);

[Maple Math]

> simplify(%);

[Maple Math]

> lhs(%)*4=rhs(%)*4;

[Maple Math]

> lhs(%)-1=rhs(%)-1;

[Maple Math]

> lhs(%)/4=rhs(%)/4;

[Maple Math]

Bonus:

22x+4 = 23x-1

> 2^(2*x+4)=2^(3*x-1);

[Maple Math]

> log[2](lhs(%))=log[2](rhs(%));

[Maple Math]

> simplify(%); #Instead of removing the logarithms as expected, Maple used the laws of logs to simplify them.

[Maple Math]

> lhs(%)*ln(2)=rhs(%)*ln(2);

[Maple Math]

> simplify(%);

[Maple Math]

> lhs(%)/ln(2)=rhs(%)/ln(2);

[Maple Math]

> simplify(%);

[Maple Math]

> lhs(%)-2*x+1=rhs(%)-2*x+1; #You can combine operations into one statement.

[Maple Math]

> rhs(%)=lhs(%);

[Maple Math]

As you can see from doing this problem, this method of solving equations isn't the best in all cases.

 

Close this window