Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
pdetest - test the solutions found by pdsolve for partial differential equations (PDEs) and PDE systems
Calling Sequence
pdetest(sol, PDE)
Parameters
sol
-
solution for PDE
PDE
partial differential equation, or a set or list of them representing a system that can also include boundary conditions
Description
The pdetest command returns either 0 (when the PDE is annulled by the solution sol), indicating that the solution is correct, or a remaining algebraic expression (obtained after simplifying the PDE with respect to the proposed solution), indicating that the solution might be wrong.
When PDE is a system, given as a set or list, possibly including boundary conditions, for each of the elements in the set/list pdetest will return a 0 or the remaining algebraic expression; the advantage of giving PDE as a list is that you can thus determine which element (if any) is not satisfied by the solution.
The pdetest command can also be used to reduce a PDE to a simpler problem by giving an "ansatz", instead of an explicit solution, since it will return the nonzero remaining part.
Examples
Define a PDE, solve it, and then test the solution.
You can use pdetest to solve a PDE. First, define the PDE.
Next, give an ansatz.
Use pdetest to simplify the PDE with regard to the ansatz above.
The ansatz above separated the variables, so the PDE can now be solved for F(x).
Now, build a (particular) solution to the PDE by substituting the result above in "ansatz".
Test solutions for PDE systems.
Consider the following PDE, boundary condition, and solution
You can test whether the sol solves pde using pdetest; the novelty is that you can now test whether it solves the boundary condition bc[1]
The boundary conditions can involve derivatives:
See Also
dchange, PDEtools, pdsolve, splitstrip, strip
Download Help Document