# [?] Substitute a - z == y into an equation?

Posted 4 years ago
5067 Views
|
3 Replies
|
4 Total Likes
|
 Hello, I was wondering with the following equation: a^4 - 4 a^3 z + 6 a^2 z^2 - 4 a z^3 + z^4 how can I substitute: a - z == y to get: y^4 Thanks
3 Replies
Sort By:
Posted 4 years ago
 a^4 - 4 a^3 z + 6 a^2 z^2 - 4 a z^3 + z^4 % /. a -> y + z // Simplify 
 Sometimes giving Simplify the optional second argument, which are the assumptions that you are telling Simplify that it can depend on always being true and which it is free to make use of as it sees fit, can accomplish interesting and helpful things. Simplify[a^4 - 4 a^3 z + 6 a^2 z^2 - 4 a z^3 + z^4, a - z == y] immediately returns y^4